﻿using System.ComponentModel.DataAnnotations;

namespace NK.Mvc3.Models
{
    public class StoreOutputDetail
    {
        public int ID { get; set; }

        public int ProductInfoID { get; set; }
        public virtual ProductInfo ProductInfo { get; set; }

        public int StoreOutputID { get; set; }
        public virtual StoreOutput StoreOutput { get; set; }

        public int Quantity { get; set; }

        [DisplayFormat(DataFormatString = "{0:#,###}")]
        public double CostOutput { get; set; }

        [DisplayFormat(DataFormatString = "{0:#,###}")]
        public double TotalCost { get; set; }
    }
}